/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Xuly;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;

import com.sun.corba.se.impl.ior.NewObjectKeyTemplateBase;

/**
 *
 * @author CULUN
 */
public class MyTable {

    private String name = "";
    private ArrayList<MyColumn> columns = new ArrayList<MyColumn>();
  //  private ArrayList<Array> values = new ArrayList<Array>();
//    private MyColumn key = null;
  //  private MyColumn foreign = null;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ArrayList<MyColumn> getColumns() {
        return columns;
    }

    public void setColumns(ArrayList<MyColumn> columns) {
        this.columns = columns;
    }

//    public MyColumn getKey() {
//        return key;
//    }
//
//    public void setKey(MyColumn key) {
//        this.key = key;
//    }
    
//    public MyColumn getForeign() {
//        return foreign;
//    }
//
//    public void setForeign(MyColumn foreign) {
//        this.foreign = foreign;
//    }
    
    
    
    public MyTable(String name, ArrayList<MyColumn> columns)
    {
        this.name = name;
        this.columns = columns;
    }
    
    public MyTable()
    {
       
    }
    
}
